package mapper.productMapper;

import entity.productEntity.Brand;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface BrandMapper {
    List<Brand> selectAll();
    List<Brand> selectByKey(String key);
    int updatemanu(@Param("id") Integer id,@Param("manu") Integer manu);
    int updateshow(@Param("id")Integer id,@Param("show")Integer show);
    int deleteByPrimaryKey(Integer brand_id);
    int deletebatch(List<Brand> brands);
    int insert(Brand record);
    List<Brand> getbrandoption();




    int insertSelective(Brand record);

    Brand selectByPrimaryKey(Integer brand_id);

    int updateByPrimaryKeySelective(Brand record);

    int updateByPrimaryKeyWithBLOBs(Brand record);

    int updateByPrimaryKey(Brand record);
}